import { axios } from '@/utils/request'

const api = {
  uploadImage: '/base/upload/image',
}

export function uploadImage (url,data) {
    let config = {
        headers:{'Content-Type':'multipart/form-data'}
    }; 
    return axios.post(url,data,config)
  }